﻿using PARK.DataEncryption;
using System;

namespace 密码工具
{
    class Program
    {
        static void Main(string[] args)
        {
            //Web
            var _DataSource = AESEncryption.Encrypt("Data Source=127.0.0.1;Initial Catalog=yktcjPlate;User ID=sa;Password=123.com1qaz;MultipleActiveResultSets=true", "580df1c6f00cb6f3");
            
            //_RedisConnectionString
            var _DataSource2 = AESEncryption.Encrypt("127.0.0.1:6379,defaultDatabase=14,password=cjsys#05$28.com", "580df1c6f00cb6f3");


            Console.WriteLine(_DataSource);
        }
    }
}
